$ var showSimple = input.showSimple == null ? true : input.showSimple;
<div class="app-discard">
    [app-discard]
    <if(showSimple)>
        <app-simple name="John" message-count=50 key="simple"/>
    </if>
</div>